package com.example.blog.dto.operationalLogs;

import com.example.blog.domain.Users;
import lombok.Data;

@Data
public class OperationLogsDto {
    private Integer type;//1 新增 -1 删除  0 修改
    private String content;
    private String ip;
    private Users admin;
    private String customer;
    private Integer outcome = 0;


    public OperationLogsDto(Integer type, String ip, String content, Users admin, String customer) {
        this.type = type;
        this.ip = ip;
        this.admin = admin;
        this.customer = customer;
        this.content = content;
    }

}
